package com.sjgtw.cloud.web.path.domain;

import com.sjgtw.cloud.common.core.annotation.Excel;
import com.sjgtw.cloud.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 上道地点对象 upper_location
 * 
 * @author lvyoufang
 * @date 2024-03-19
 */
@ApiModel(value="上道地点对象", description="upper_location")
public class UpperLocation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 区段 */
    @ApiModelProperty(value = "区段")
    @Excel(name = "区段")
    private Long section;

    /** 区段名称 */
    @ApiModelProperty(value = "区段名称")
    @Excel(name = "区段名称")
    private String sectionName;

    /** 工区 */
    @ApiModelProperty(value = "工区")
    @Excel(name = "工区")
    private Long workArea;

    /** 工区名称 */
    @ApiModelProperty(value = "工区名称")
    @Excel(name = "工区名称")
    private String workAreaName;

    /** 上道地点 */
    @ApiModelProperty(value = "上道地点")
    @Excel(name = "上道地点")
    private String upperLocaltion;

    /** 线别 */
    @ApiModelProperty(value = "线别")
    @Excel(name = "线别")
    private String lineType;

    /** 公里标 */
    @ApiModelProperty(value = "公里标")
    @Excel(name = "公里标")
    private String kilometer;

    /** 创建人id */
    @ApiModelProperty(value = "创建人id")
    @Excel(name = "创建人id")
    private Long createUserId;

    /** 第一条路径最后一个点位的经纬度 **/
    /** 经度 */
    @ApiModelProperty(value = "经度")
    private BigDecimal longitude;
    /** 纬度 */
    @ApiModelProperty(value = "纬度")
    private BigDecimal latitude;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSection(Long section) 
    {
        this.section = section;
    }

    public Long getSection() 
    {
        return section;
    }
    public void setSectionName(String sectionName) 
    {
        this.sectionName = sectionName;
    }

    public String getSectionName() 
    {
        return sectionName;
    }
    public void setWorkArea(Long workArea) 
    {
        this.workArea = workArea;
    }

    public Long getWorkArea() 
    {
        return workArea;
    }
    public void setWorkAreaName(String workAreaName) 
    {
        this.workAreaName = workAreaName;
    }

    public String getWorkAreaName() 
    {
        return workAreaName;
    }
    public void setUpperLocaltion(String upperLocaltion) 
    {
        this.upperLocaltion = upperLocaltion;
    }

    public String getUpperLocaltion() 
    {
        return upperLocaltion;
    }
    public void setLineType(String lineType) 
    {
        this.lineType = lineType;
    }

    public String getLineType() 
    {
        return lineType;
    }
    public void setKilometer(String kilometer) 
    {
        this.kilometer = kilometer;
    }

    public String getKilometer() 
    {
        return kilometer;
    }
    public void setCreateUserId(Long createUserId) 
    {
        this.createUserId = createUserId;
    }

    public Long getCreateUserId() 
    {
        return createUserId;
    }

    public BigDecimal getLongitude() {
        return longitude;
    }

    public void setLongitude(BigDecimal longitude) {
        this.longitude = longitude;
    }

    public BigDecimal getLatitude() {
        return latitude;
    }

    public void setLatitude(BigDecimal latitude) {
        this.latitude = latitude;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("section", getSection())
            .append("sectionName", getSectionName())
            .append("workArea", getWorkArea())
            .append("workAreaName", getWorkAreaName())
            .append("upperLocaltion", getUpperLocaltion())
            .append("lineType", getLineType())
            .append("kilometer", getKilometer())
            .append("createUserId", getCreateUserId())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
